package com.sanpu.kxe.business.trade.contract;

import com.sanpu.kxe.base.IBaseExtraView;
import com.sanpu.kxe.base.IBasePresenter;
import com.sanpu.kxe.business.card.bean.BankInfoOutput;
import com.sanpu.kxe.business.trade.bean.FastPayBannerOutput;

import java.util.List;

/**
 * Description：快捷native支付
 * Created by 薛勇军 on 2019/3/8.
 */

public interface FastPayComfirmContract {

    interface View extends IBaseExtraView<Presenter> {
        /**
         * 显示选中的银行卡信息
         */
        void showBankInfo(BankInfoOutput infoOutput, boolean isOutBank);

        /**
         * 显示banner
         */
        void showBannerView(List<FastPayBannerOutput> bannerOutputs);

        /**
         * 得到银行卡列表数据
         */
        void setBankListData(List<BankInfoOutput> outBankList, List<BankInfoOutput> inBankList);
    }

    interface Presenter extends IBasePresenter {

        /**
         * 初始化数据
         */
        void initData(String needPic, String rlId, String payType, String paymentAmt);

        /**
         * 获取所有的银行卡信息
         */
        void selectUrmBankPage();

        /**
         * banner点击事件
         */
        void onBannerItemClick(FastPayBannerOutput bannerOutput);

        /**
         * API快捷报备查询接口
         */
        void quickReportSelect(BankInfoOutput infoOutput);
    }
}
